package com.pactera.madp.cp.api.entity.clientLossManagement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cp_contact_loss")
@ApiModel(value = "客户流失")
public class ContactLossEntity extends BaseEntity<ContactLossEntity> {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "序号id")
    private Integer id;

    @ApiModelProperty(value = "客户id")
    private Integer contactId;

    @ApiModelProperty(value = "所属成员id")
    private Integer employeeId;

    @ApiModelProperty(value = "客户信息")
    private String contactName;

    @ApiModelProperty(value = "客户性别")
    private Integer contactGender;

    @ApiModelProperty(value = "所属成员")
    private String employeeName;

    @ApiModelProperty(value = "流失时间")
    private LocalDateTime lossTime;

    @ApiModelProperty(value = "添加时间")
    private LocalDateTime buildTime;

    @ApiModelProperty(value = "上次对话时间")
    private LocalDateTime latestChatTime;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;
}
